
package com.hlkj.pay.vo.order.req;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import com.hlkj.pay.vo.BaseReq;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/10/09 11:37
 */
@Data
public class MerchantTermAddReq extends BaseReq {

    @Schema(description = "子通道code")
    @NotEmpty(message = "子通道编码 不能为空")
    private String mchChannelCode;

    @Schema(description = "终端序列号")
    @NotEmpty(message = "终端序列号 不能为空")
    @Length(max = 20)
    private String tmSerialNo;
    @Schema(description = "终端联系人")
    @NotEmpty(message = "终端联系人 不能为空")
    @Length(max = 7)
    private String tmContactPs;
    @Schema(description = "联系人电话")
    @NotEmpty(message = "联系人电话 不能为空")
    @Length(max = 15)
    private String tmContactPh;
    @Schema(description = "终端布放所在省份")
    @NotEmpty(message = "终端布放所在省份 不能为空")
    @Length(max = 3)
    private String tmProvCd;
    @Schema(description = "终端布放所在市")
    @NotEmpty(message = "终端布放所在市 不能为空")
    @Length(max = 4)
    private String tmCityCd;
    @Schema(description = "终端布放所在区县")
    @NotEmpty(message = "终端布放所在区县 不能为空")
    @Length(max = 4)
    private String tmCountyCd;
    @Schema(description = "终端布放地址")
    @NotEmpty(message = "终端布放地址 不能为空")
    @Length(max = 80)
    private String tmInstArea;
    @Schema(description = "是否绑定电话")
    @NotNull(message = "是否绑定电话 不能为空")
    private Integer tmBindInd;
    @Schema(description = "终端绑定电话号码")
    @Length(max = 8)
    private String tmPhoneNo;
}
